

define(["business/services/constant"], function (constant) {
   var companyURL = constant.config.BASEURL_COMPANYOUT;
   var libraryURL = constant.config.BASEURL_LIBRARY;
   var libraryAPI = constant.config.CONSTANT_ADVER;
   var companyAPI = constant.config.CONSTANT_Company;
   var provinceAPI = constant.config.CONSTANT_REGION_PROVICE;
   var commentAPI = constant.config.CONSTANT_COMPANYCOMMENT;
   return {
   		companyHttpService:function(requesion){
   			return constant.httpSend(companyURL,companyAPI,requesion);
   		},
   		placeHttpService:function(requesion){
   			return constant.httpSend(companyURL,provinceAPI,requesion);
   		},
   		commentHttpService:function(requesion){
   			return constant.httpSend(companyURL,commentAPI,requesion);
   		},
	    bannerHttpService:function(requesion){
		    return constant.httpSend(libraryURL,libraryAPI,requesion);
	    }
   	}
});
